02. Review Decision Trees

Review Decision Trees

Before we move on, let’s quickly review what you learned in the lesson on decision trees. Let’s say you have the dataset above, and you are using the features “gender” and “occupation” to predict “app preference”. What is the information gain if you split the data by occupation?

SOLUTION: 0.618